/*************************************************************************
> File Name: app.cpp
> Author: hzy
> Created Time: 2023-08-16 19:29:58
> Description: 类模板分文件写
************************************************************************/
#include "Demo.h"
#include "Demo.hpp"

int main()
{
    Demo<int> obj1(10);
    cout << obj1.getData() << endl;

    Demo<char> obj2('p');
    cout << obj2.getData() << endl;

    Demo<string> obj3("gou da ge");
    cout << obj3.getData() << endl;

    Demo<double> obj4(5.5);
    cout << obj4.getData() << endl;

    return 0;
}